package zb.blog.service;

import com.github.pagehelper.PageInfo;
import zb.blog.base.bean.Result;
import zb.blog.bean.PrivateAccountBean;

import java.util.Map;

public interface PrivateAccountService {

    PageInfo<PrivateAccountBean> list(Map<String,String> map);

    Result add(PrivateAccountBean privateAccountBean);

    Result deleteById(Integer id);

    Result updateById(PrivateAccountBean privateAccountBean);

    PrivateAccountBean getById(Integer id);
}
